<!--sidebar start-->
<aside>
    <div class="well">
        <!-- sidebar menu start-->
        <div class="pull-right">智能开关固件 v2.0.1(开发中...)</div>
        <ul class="nav nav-list">
            {{ $currentNode := . }}
            {{ range .Site.Menus.main }}
            {{ if .HasChildren }}
            <li>
                <label class="tree-toggle nav-header">{{ .Name }}</label>
                <ul class="nav nav-list">
                    {{ range .Children }}
                    <li>
                        <a href="{{.URL}}">{{ .Name }}</a>
                    </li>
                    {{ end }}
                </ul>
            {{ else }}
            <li>
                <label class="tree-toggle nav-header">{{ .Name }}</label>
                <ul class="nav nav-list">
                    <li>
                        <a href="{{.URL}}">{{ .Name }}</a>
                    </li>
                </ul>
            {{ end }}
            </li>
            {{ end }}
            {{ if .IsPage }}
            {{ $File := .File }}  {{with $File.Path }}
            <li>
                <a href="https://gitee.com/feiyangiot/feiyangkeji.com/edit/master/content/{{ $File.Dir }}{{ $File.LogicalName }}" target="blank">
                <i class='fa fa-edit'></i>修改此文章</a>
            </li>
            {{ end }}
            {{ end }}
        </ul>
    </div>
</aside>
<!--sidebar end-->
